home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / cuj9205.zip / CMENU13.EXE / MAKEFILE.DOS < prev    next >
Text File  |  1992-01-30  |  2KB  |  55 lines

  1. #
  2. # Make file for CMENU Menu compiler system (DOS version)
  3. # Developed under Borland C++, but written portably
  4. #
  5.  
  6. #############################################################################
  7. # Primary configuration section
  8. #############################################################################
  9.  
  10. CC = bcc                    # command-line compiler name
  11.  
  12.                             # uncomment only 1 in each of following 3 pairs:
  13.  
  14. DEBUG = -v                    # enable embedded Turbo Debugger info
  15. #DEBUG =                     # disable debugging
  16.  
  17. #BCCOPTS =                    
  18. BCCOPTS = -w-pia -A    -O1 -H    # Borland-specific stuff
  19.  
  20. #NEEDSTR = -DNEEDSTR        # compile own strstr() definition
  21. NEEDSTR =                    # use library version of strstr()
  22.  
  23. #HEAPSIZ = -DHEAPSIZ=20000    # Set Near Heap size to conserve DOS memory
  24. HEAPSIZ =
  25.  
  26. WILDLIB = wildargs.obj        # links in wildcard expansion module
  27.  
  28. CULIBS = tscurses.lib        # curses library
  29.  
  30. #############################################################################
  31. # End of primary configuration section
  32. #############################################################################
  33.  
  34. COPTS = $(BCCOPTS) -DDOS=1 $(DEBUG) $(NEEDSTR) $(HEAPSIZ)
  35. CFILES = cmenu1.obj cmenu2.obj cmenu3.obj
  36. RFILES = rmenu1.obj rmenu2.obj  rmenu3.obj rmenu4.obj
  37.  
  38. all: cmenu.exe rmenu.exe dmenu.exe
  39.  
  40. .c.obj:                            # For non-Borland MAKE, you may need to
  41.     $(CC) -c $(COPTS) {$< }        # substitute  "$*.c"  for "{$< }"
  42.  
  43. cmenu.exe: $(CFILES)
  44.     $(CC) $(DEBUG) -ecmenu $(CFILES) $(WILDLIB)
  45.  
  46. rmenu.exe: $(RFILES)
  47.     $(CC) $(DEBUG) -ermenu $(RFILES) $(CULIBS)
  48.  
  49. dmenu.exe: dmenu.c cmenu.h
  50.     $(CC) $(COPTS) -edmenu dmenu.c 
  51.  
  52. $(CFILES): ccmenu.h cmenu.h makefile
  53.  
  54. $(RFILES): rcmenu.h cmenu.h makefile
  55.